<html>
<body>
   <table border=1>
      <thead>
         <tr>
            <th>学生序号</th> <th>学生姓名</th>
            <th>百分比</th>
            <th>结果</th>
         </tr>
      </thead>
      <tbody>
         {% for Student in students %}
            <tr>
               <td>{{ Student.id }}</td>
               <td>{{ Student.name }}</td>
               <td>{{ Student.percent }}</td>
               <td>
                  {% if Student.percent>=50 %}
                  通过
                  {% else %}
                  失败
                  {% endif %}
               </td>
            </tr>
         {% endfor %}
      </tbody>
   </table>
</body>
</html>